package Config

var Server server

//.配置信息
type server struct {
	GatewayAddr   string `yaml:"GatewayAddr"`
	SwitchAddr    string `yaml:"SwitchAddr"`
	RegisterAddr  string `yaml:"RegisterAddr"`
	License       string `yaml:"License"`

	HttpDebug    bool `yaml:"HttpDebug"`
	HttpAddr     string `yaml:"HttpAddr"`
	HttpPort     int `yaml:"HttpPort"`

	ESHost     string `yaml:"ESHost"`

	OssEndpoint string `yaml:"OssEndpoint"`
	OssAccessKeyId string `yaml:"OssAccessKeyId"`
	OssAccessKeySecret string `yaml:"OssAccessKeySecret"`
	OssBucket string `yaml:"OssBucket"`
	OssUrlhost string `yaml:"OssUrlhost"`

	TcpProxyHost string `yaml:"TcpProxyHost"`
	TcpProxyToHost string `yaml:"TcpProxyToHost"`
}
